import './style.css';

import { fromMarkdown } from 'mdast-util-from-markdown';
import doc from './example.md?raw';

const tree = fromMarkdown(doc);

console.log(tree);

const app = document.querySelector<HTMLDivElement>('#app')!;

app.innerHTML = `
  <h1>Hello Vite!</h1>
  <a href="https://vitejs.dev/guide/features.html" target="_blank">Documentation</a>
`;
